#include<iostream>
#include<cstring>

using namespace std;

int Strlen(char s[]) {
    int i = 0;
    while (s[i] != '\0') {
        i++;
    }
    return i;
}

int main() {

    char s[100] = "hello world";
    cout << Strlen(s);
    return 0;
}